package me.ezjs.framework.core.model;

/**
 * Created by zero-mac on 16/3/10.
 */
public abstract class RootObject {

    /**
     * 统一使用UUID作为数据库主键
     */
    protected String id;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @Override
    public abstract String toString();

    @Override
    public abstract boolean equals(Object o);

    @Override
    public abstract int hashCode();
}
